package com.zr.repertory.warearea.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.config.ErrorMessage;
import com.zr.util.PageVo;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;


/**
 * Created by HXH on 2019/11/21 0021.
 */
@Data
public class WarehouseAddVo  {

    private Integer warehouseID;//库房id
    @NotBlank(message = ErrorMessage.WAREHOUSENAME)
    private String warehouseName;//库房名称
    @NotBlank(message = ErrorMessage.WAREHOUSECODE)
    private String  warehouseCode;//库方编码
    @NotBlank(message = ErrorMessage.WAREHOUSEDEC)
    private Integer warehouseDec;//库房描述
    @NotNull(message = ErrorMessage.WAREHOUSESTATUS)
    private Integer warehouseStatus;//库房状态
    private String  warehouseStatusName;//库房状态名称
    @NotBlank(message = ErrorMessage.WAREHOUSEMARKCODE)
    private String warehouseMarkCode;//库房标识编码
    @NotBlank(message = ErrorMessage.WAREHOUSEADDRESS)
    private Integer warehouseAddress;//库房地址
    @NotNull(message = ErrorMessage.WAREHOUSEMARKID)
    private Integer warehouseMarkId;//库房标识id
    @NotNull(message = ErrorMessage.WAREHOUSEMARKSTATUS)
    private Integer warehouseMarkStatus;//库房标识状态
    private String warehouseMarkStatusName;//库房标识名称
    private String createName;//创建人名称
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date createTime;
    private String updateName;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date updateTime;

}
